package com.shopx.auth.service;

import com.shopx.auth.DTO.LoginUserDTO;
import com.shopx.base.exception.ShopxException;

/**
 * @author lituo
 * @className: ISysUserService
 * @description: 权限验证
 * @date 2021/12/5 10:42 AM
 */
public interface ICheckAuthService {

  /**
   * 令牌方式拦截用户是否具备访问权限
   *
   * @param accessUrl
   * @param hmac
   * @return boolean
   * @author lituo
   * @date 3:25 PM 2021/12/5
   */
  LoginUserDTO checkLogin(String accessUrl,String hmac) throws ShopxException;
}
